/*
 * @description: 
 * @version: 1.0.1
 * @Author: xuqiulin
 * @Date: 2021-04-22 10:28:53
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2021-04-22 10:29:34
 */

function myswitch2() {
    let type: number = 1;
    switch (type) {
        case 1:
            let num: number = 10;
            console.log(num);
            break;
        case 2:
        case 3:
            console.log('-------');
            break;
        case 5:
            console.log('+++++++');
            break;
    }
}

myswitch2();
